﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Visa_InfoLine.aspx.cs"
    Inherits="FS.Web.BLL.Visa_Base.Visa_InfoLine" %>

<%@ Register Src="../../UserControl/PageControl.ascx" TagName="PageControl" TagPrefix="uc1" %>
<%@ Register Src="../../UserControl/LoadButton.ascx" TagName="LoadButton" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="/Themes/Styles/Site.css" rel="stylesheet" type="text/css" />
    <script src="/Themes/Scripts/jquery-1.8.2.min.js" type="text/javascript"></script>
    <script src="/Themes/Scripts/FunctionJS.js" type="text/javascript"></script>
    <link href="/Themes/Scripts/EasyUI/easyui.css" rel="stylesheet" type="text/css" />
    <script src="/Themes/Scripts/EasyUI/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="../../Themes/Scripts/DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script>
        $(function () {
            divresize(190);
            FixedTableHeader("#table1", $(window).height() - 220);
        })
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="btnbartitle">
        <div>
            签证订单管理
        </div>
    </div>
    <div class="btnbarcontetn">
        <table border="0" cellpadding="0" cellspacing="0" class="frm">
            <tr>
                <th>
                    委托方：
                </th>
                <td>
                    <select id="sel_trust" runat="server" class="select" style="width: 106px" />
                </td>
                <th>
                    国家：
                </th>
                <td>
                    <select id="sel_cityid" class="select" runat="server" style="width: 106px" />
                </td>
                <th>
                    签证类型：
                </th>
                <td>
                    <select id="sel_certtype" class="select" runat="server" style="width: 106px" />
                </td>
                <th>
                    收签时间：
                </th>
                <td>
                    <input id="info_getdate" runat="server" type="text" class="txt" style="width: 100px"
                        onfocus="WdatePicker({dateFmt: 'yyyy-MM-dd' })" />
                </td>
            </tr>
            <tr>
                <th>
                    资料齐全：
                </th>
                <td>
                    <select id="sel_datainterity" class="select" runat="server" style="width: 106px">
                        <option value="">全部</option>
                        <option value="1">是</option>
                        <option value="0">否</option>
                    </select>
                </td>
                <th>
                    客人姓名：
                </th>
                <td>
                    <input id="InfoDetail_user" runat="server" type="text" class="txt" style="width: 100px" />
                </td>
                <th>
                    联系电话：
                </th>
                <td>
                    <input id="InfoDetail_userphone" runat="server" type="text" class="txt" style="width: 100px" />
                </td>
                <th>
                    送签时间：
                </th>
                <td>
                    <input id="InfoDetail_Submitdate" runat="server" type="text" class="txt" style="width: 100px"
                        onfocus="WdatePicker({dateFmt: 'yyyy-MM-dd' })" />
                </td>
            </tr>
            <tr>
                <th>
                    证件号：
                </th>
                <td>
                    <input id="InfoDetail_cardno" runat="server" type="text" class="txt" datacol="yes"
                        err="联系人" checkexpession="NotNull" style="width: 100px" />
                </td>
                <th>
                    经办人：
                </th>
                <td>
                    <%--<select id="sel_operation" class="select" runat="server" style="width:106px"/>--%>
                    <input id="sel_operation" runat="server" type="text" class="txt" datacol="yes" err="联系人"
                        checkexpession="NotNull" style="width: 100px" />
                </td>
                <th>
                    签证状态：
                </th>
                <td>
                    <select id="sel_infoflag" class="select" runat="server" style="width: 106px">
                        <option value="">全部</option>
                        <option value="sendto">送签</option>
                        <option value="post">寄件</option>
                        <option value="audit">审核</option>
                        <option value="resultok">出签</option>
                        <option value="resultfalse">拒签</option>
                        <option value="raise">录证</option>
                    </select>
                </td>
                <th>
                    到件时间：
                </th>
                <td>
                    <input id="InfoDetail_Receivedate" runat="server" type="text" class="txt" style="width: 100px"
                        onfocus="WdatePicker({dateFmt: 'yyyy-MM-dd' })" />
                </td>
            </tr>
            <tr>
                <th>
                    签证订单号：
                </th>
                <td>
                    <input id="info_no" runat="server" type="text" class="txt" style="width: 100px" />
                </td>
                <td colspan="6">
                    <input id="Hchange" type="hidden" runat="server" value="0" />
                    <asp:LinkButton ID="lbtSearch" runat="server" class="button green" OnClick="lbtSearch_Click"><span class="icon-botton"
                    style="background: url('../../Themes/images/Search.png') no-repeat scroll 0px 4px;"></span>查 询
                    </asp:LinkButton>
                    <asp:LinkButton ID="lbtExport" OnClientClick="getHtmltoValue()" runat="server" class="button green"
                        OnClick="lbtExport_Click"><span class="icon-botton"
            style="background: url('../../Themes/images/16/page_excel.png') no-repeat scroll 0px 4px;">
        </span>导 出</asp:LinkButton>
                    <asp:LinkButton ID="lbtPrint" runat="server" class="button green"><span class="icon-botton"
            style="background: url('../../Themes/images/16/Printer.png') no-repeat scroll 0px 4px;">
        </span>打 印</asp:LinkButton>
                </td>
            </tr>
        </table>
    </div>
    <asp:HiddenField ID="printHid" runat="server" />
    <div id="printDiv">
    <div class="div-body">
        <table id="table1" class="grid" singleselect="true">
            <thead>
                <tr>
                    <td style="width: 20px; text-align: left;">
                        <label id="checkAllOff" onclick="CheckAllLine()" title="全选">
                            &nbsp;</label>
                    </td>
                    <td style="width: 80px; text-align: center;">
                        收签时间
                    </td>
                    <td style="width: 110px; text-align: center;">
                        委托方
                    </td>
                    <td style="width: 70px; text-align: center;">
                        客户姓名
                    </td>
                    <td style="width: 90px; text-align: center;">
                        客户电话
                    </td>
                    <td style="width: 60px; text-align: center;">
                        签证状态
                    </td>
                    <td style="width: 100px; text-align: center;">
                        证件号
                    </td>
                    <td style="width: 60px; text-align: center;">
                        资料齐全
                    </td>
                    <td style="width: 110px; text-align: center;">
                        订单号
                    </td>
                    <td style="width: 60px; text-align: center;">
                        付款情况
                    </td>
                    <td style="width: 80px; text-align: center;">
                        送签时间
                    </td>
                    <td style="width: 80px; text-align: center;">
                        到件时间
                    </td>
                    <td style="width: 70px; text-align: center;">
                        经办人
                    </td>
                    <td style="width: 80px; text-align: center;">
                        补齐时间
                    </td>
                    <td>
                        行备注
                    </td>
                </tr>
            </thead>
            <tbody>
                <asp:Repeater ID="rp_Item" runat="server">
                    <ItemTemplate>
                        <tr>
                            <td style="width: 20px; text-align: left;">
                                <input type="checkbox" value="<%#Eval("Info_ID")%>" name="checkbox" />
                            </td>
                            <td style="width: 80px;">
                                <%#Eval("info_getdate")%>
                            </td>
                            <td style="width: 110px;">
                                <%#Eval("trust_name")%>
                            </td>
                            <td style="width: 70px;">
                                <%#Eval("InfoDetail_user")%>
                            </td>
                            <td style="width: 90px;">
                                <%#Eval("InfoDetail_userphone")%>
                            </td>
                            <td style="width: 60px;">
                                <%#Eval("Ref_infoflag")%>
                            </td>
                            <td style="width: 100px;">
                                <%#Eval("InfoDetail_cardno")%>
                            </td>
                            <td style="width: 60px;">
                                <%#Eval("Data_integrity")%>
                            </td>
                            <td style="width: 110px;">
                                <%#Eval("info_id")%>
                            </td>
                            <td style="width: 60px;">
                                <%#Eval("Ref_moneyflag")%>
                            </td>
                            <td style="width: 80px;">
                                <%#Eval("InfoDetail_Submitdate")%>
                            </td>
                            <td style="width: 80px;">
                                <%#Eval("InfoDetail_Receivedate")%>
                            </td>
                            <td style="width: 70px;">
                                <%#Eval("InfoDetail_operationname")%>
                            </td>
                            <td style="width: 80px;">
                                <%#Eval("Data_CompletionDate")%>
                            </td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        <% if (rp_Item != null)
                           {
                               if (rp_Item.Items.Count == 0)
                               {
                                   Response.Write("<tr><td colspan='14' style='color:red;text-align:center'>没有找到您要的相关数据!！</td></tr>");
                               }
                           } %>
                    </FooterTemplate>
                </asp:Repeater>
            </tbody>
        </table>
    </div></div>
    <uc1:PageControl ID="PageControl1" runat="server" />
    </form>
    <script type="text/javascript">
        function getHtmltoValue() {
            document.getElementById("<%=printHid.ClientID%>").value = document.getElementById("printDiv").innerHTML;
        }     
    </script>
</body>
</html>
